<?php 
$loadpage='student_search.php'; 
if(isset($_GET['tab'])){
$tab=$_GET['tab'];
if($tab=='student_search')
{
$loadpage='student_search.php';
}
elseif($tab=='student_add')
{
$loadpage='../../admin/common/student_add.php';
}
 else if($tab=='payment_search')
{
$loadpage='payment_search.php';
}
else if($tab=='payment_handle')
{
$loadpage='../../admin/common/payment_handle.php';
}
else if($tab=='att_student_search')
{
$loadpage='att_student_search.php';
}
else if($tab=='att_student_add')
{
 $loadpage='../../admin/common/att_student_add.php';
}
elseif($tab=='att_employee_search')
{
$loadpage='att_employee_search.php';
}
else if($tab=='att_employee_add')
{
$loadpage='../../admin/common/att_employee_add.php';
}
else if($tab=='schedule_search')
{
$loadpage='schedule_search.php';
}
 else if($tab=='schedule_add')
{
$loadpage='../../admin/common/schedule_add.php';
}
else if($tab=='feedback_search')
{
$loadpage='feedback_search.php';
}
else if($tab=='feedback_add')
{
$loadpage='../../admin/common/feedback_add.php';
}
else if($tab=='feedback_search')
{
$loadpage='feedback_search.php';
}
else if($tab=='report_individual')
{
$loadpage='report_individual.php';
}
else if($tab=='report_whole')
{
$loadpage='report_whole.php';
}
else if($tab=='report_emploatt')
{
$loadpage='report_empatt.php';
}
else if($tab=='report_studatt')
{
$loadpage='report_studatt.php';
}
else if($tab=='report_emploincome')
{
$loadpage='emp_income.php';
}
elseif($tab=='marks_add')
{
$loadpage='../../admin/common/marks_add.php';
}
elseif($tab=='sub_marks_progress')
{
$loadpage='../../admin/admin/sub_marks_progress.php';
}
else if($tab=='employee_search')
{
$loadpage='employee_search.php';
}
 else if($tab=='employee_add')
{
$loadpage='../../admin/common/employee_addx.php';
}
else if($tab=='user_search')
{
$loadpage='user_search.php';
}
else if($tab=='user_add')
{
$loadpage='../common/user_add.php';
}
else if($tab=='user_view')
{
$loadpage='user_view.php';
}else if($tab=='subject_code_add')
{
$loadpage='../common/subject_code_add.php';
}else if($tab=='subject_code_search')
{
$loadpage='subject_code_view.php';
}else if($tab=='grade_income')
{
$loadpage='grade_income.php';
}else if($tab=='annual_grade')
{
$loadpage='annual_grade.php';
}else if($tab=='schedule_report')
{
$loadpage='schedule_check.php';
}
else if($tab=='room_allocation')
{
$loadpage='room_allo.php';
}
}
?>




